package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.SmsNotifications;
import com.example.mall.dto.SmsNotificationsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.SmsNotificationsQuery;

import java.util.List;


/**
 * <p>
 * 短信通知表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface ISmsNotificationsService extends IService<SmsNotifications> {

    //查询分页数据
    PageDTO<SmsNotificationsDto> queryPage(SmsNotificationsQuery smsNotificationsQuery);

    //根据id查询短信通知表
    SmsNotifications querySmsNotificationsById(Long smsId);

    //新增短信通知表
    void insert(SmsNotificationsDto smsNotificationsDto);

    //修改短信通知表
    void update(SmsNotificationsDto smsNotificationsDto);
    //删除短信通知表
    void delete(Long smsId);
    //批量删除短信通知表
    void deleteBatch(List<Long> smsIds);
    //查询全部短信通知表
    List<SmsNotifications> querySmsNotificationsList();
}
